﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using TruckWatch.Cloud.Models.EF;

namespace TruckWatch.Cloud.DAL
{
    class TripDALEF
    {
        public static void AddTrip(Trip trip)
        {
            TruckWatchEntities context = new TruckWatchEntities();

            context.AddToTrips(trip);
            context.SaveChanges();
        }

    }
}
